<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<table width="500px" border="1">
		<tr>
			<th colspan="5">
				<h2>回复信息列表</h2>
			</th>
		</tr>
		<tr>
			<th colspan="5">
				<a href="toadd?invid=${invid }">添加回复</a>
				<a href="invList">返回帖子列表</a>
			</th>
		</tr>
		<tr>
			<td>内容</td>
			<td>作者</td>
			<td>发布时间</td>
		</tr>
		<c:forEach items="${pageInfo.dataList }" var="detail">
		<tr>
			<td>${detail.content }</td>
			<td>${detail.author }</td>
			<td>
				<fmt:formatDate value="${detail.createdate }" pattern="yyyy-MM-dd"/>
			</td>
		</tr>
		</c:forEach>
	</table>
	<div>
		第${pageInfo.currPageNo }/${pageInfo.totalPageCount }
	</div>
</body>
</html>